﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPage/User.Master"
    CodeBehind="Reviews.aspx.vb" Inherits="GoodAnotApp.Reviews" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="100%">
        <tr>
            <td>
                <h3 style="color: #D12026">
                    My Reviews
                </h3>
            </td>
        </tr>
        <tr>
            <td class="sortByContainer" style="margin-left: 0px">
                <strong>&nbsp;&nbsp;Sort by:</strong>&nbsp;
                <asp:LinkButton ID="lbSortDate" runat="server" ForeColor="#FF9933">Date </asp:LinkButton>
                &nbsp;
                <asp:Image ID="imgDateAsc" runat="server" ImageUrl="~/Styles/Images/sortUp.gif" />
                <asp:Image ID="imgDateDesc" runat="server" ImageUrl="~/Styles/Images/sortDown.gif" />|
                <asp:LinkButton ID="lbSortRating" runat="server" ForeColor="#FF9933">Rating</asp:LinkButton>
                &nbsp;
                <asp:Image ID="imgRatingAsc" runat="server" ImageUrl="~/Styles/Images/sortUp.gif" />
                <asp:Image ID="imgRatingDesc" runat="server" ImageUrl="~/Styles/Images/sortDown.gif" />|
                <asp:LinkButton ID="lbSortHelpful" runat="server" ForeColor="#FF9933">Helpfulness</asp:LinkButton><asp:Image
                    ID="imgHelpfulAsc" runat="server" ImageUrl="~/Styles/Images/sortUp.gif" />
                <asp:Image ID="imgHelpfulDesc" runat="server" ImageUrl="~/Styles/Images/sortDown.gif" />
                <asp:HiddenField ID="hfSort" runat="server" Value="date" />
                <asp:HiddenField ID="hfAscDesc" runat="server" Value="desc" />
            </td>
        </tr>
        <tr>
            <td>  <asp:Label ID="lbLoggedin" runat="server" Visible="false" Text="Please log in first"></asp:Label>
                <asp:Panel ID="pnlListview" runat="server" ScrollBars="Vertical" Height="600px" BorderStyle="Outset">
                  
                    <asp:ListView ID="lvReview" runat="server" DataSourceID="SqlDataSourceReviews" GroupItemCount="3">
                        <EmptyDataTemplate>
                            <table id="Table1" runat="server" style="">
                                <tr>
                                    <td style="border-top: 0px">
                                        You have no reviews yet
                                    </td>
                                </tr>
                            </table>
                        </EmptyDataTemplate>
                        <GroupTemplate>
                            <div id="itemPlaceholderContainer" runat="server">
                                <span runat="server" id="itemPlaceholder" />
                            </div>
                        </GroupTemplate>
                        <ItemTemplate>
                            <table style="border: 1px solid #808080; margin-top: 18px; margin-bottom: 0px; padding-top: 0px;
                                margin-right: 2.5%; margin-left: 2.5%" width="95%" class="bordered-table">
                                <tr>
                                    <td width="130px" style="border-top-color: #808080; border-left: 0px; border-right: 0px">
                                        <asp:Image ID="imgProfile" runat="server" Height="60px" Width="60px" Style="padding: 0px 0px 0px 0px;
                                            margin: 0px 0px 0px 28px" class="media-gridImg" />
                                    </td>
                                    <td width="110px" style="font-size: 12px; border-top-color: #808080; border-left: 0px;
                                        border-right: 0px">
                                        Quality :
                                        <div class="rating_bar">
                                            <div id="ratingQualityStar" style="width: 40%" runat="server">
                                            </div>
                                        </div>
                                        <asp:Label ID="rating_qualityLabel" runat="server" Visible="false" Text='<%# Eval("rating_quality") %>' />
                                    </td>
                                    <td width="110px" style="font-size: 12px; border-top-color: #808080; border-left: 0px;
                                        border-right: 0px">
                                        Value :
                                        <div class="rating_bar">
                                            <div id="ratingValueStar" style="width: 40%" runat="server">
                                            </div>
                                        </div>
                                        <asp:Label ID="rating_valueLabel" runat="server" Visible="false" Text='<%# Eval("rating_value") %>' />
                                    </td>
                                    <td width="110px" style="font-size: 12px; border-top-color: #808080; border-left: 0px;
                                        border-right: 0px">
                                        Service :
                                        <div class="rating_bar">
                                            <div id="ratingServiceStar" style="width: 40%" runat="server">
                                            </div>
                                        </div>
                                        <asp:Label ID="rating_serviceLabel" runat="server" Visible="false" Text='<%# Eval("rating_service") %>' />
                                    </td>
                                    <td width="110px" style="font-size: 12px; border-top-color: #808080; border-left: 0px;
                                        border-right: 0px">
                                        Overall :
                                        <div class="rating_bar">
                                            <div id="ratingOverallStar" style="width: 40%" runat="server">
                                            </div>
                                        </div>
                                        <asp:Label ID="rating_overallLabel" runat="server" Visible="false" Text='<%# Eval("rating_overall") %>' />
                                    </td>
                                    <td width="300px" style="font-size: 16px; color: #FF6666; border-top-color: #808080;
                                        border-left: 0px; border-right: 0px">
                                        <asp:Label ID="rating_verdictLabel" runat="server" Text='<%# Eval("rating_verdict") %>' />
                                    </td>
                                    <td colspan="2" align="right" valign="top" style="border-top-color: #808080; text-align: right;
                                        border-left: 0px">
                                        <asp:LinkButton ID="lbDelete" runat="server" CommandName="deleteReview" ForeColor="Red"
                                            Font-Size="12px" Font-Bold="true" CausesValidation="False">X</asp:LinkButton>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 12px; color: blue; border-right: 0px; border-bottom: 0px; margin-left: 10px;
                                        text-align: center">
                                        <asp:Label ID="display_nameLabel" runat="server" Text='<%# Eval("display_name") %>' />
                                    </td>
                                    <td colspan="4" rowspan="3" style="border-left: 0px; border-right: 0px">
                                        <asp:Label ID="titleLabel" runat="server" Text='<%# Eval("title") %>' Font-Bold="True"
                                            Font-Size="12px" Font-Names="Calibri (Body)" />
                                        <br>
                                        <asp:Label ID="review_dateLabe" runat="server" Text='<%# Eval("review_date", "{0:dd/MM/yyyy}") %>'
                                            Font-Name="Ariel" Font-Size="11.5px" />
                                        <br>
                                        <asp:Label ID="review_contentLabel" runat="server" Font-Size="12px" Text='<%# Eval("review_content") %>'
                                            ForeColor="#77787B" />
                                    </td>
                                    <td colspan="2" rowspan="3" style="border-left: 0px; border-right: 0px">
                                        <asp:Label ID="review_IDLabel" runat="server" Visible="false" Text='<%# Eval("review_ID") %>' />
                                        <br />
                                        <asp:Label ID="user_IDLabel" runat="server" Visible="false" Text='<%# Eval("user_ID") %>' />
                                        <br />
                                        <asp:Label ID="reviewer_IDLabel" runat="server" Visible="false" Text='<%# Eval("reviewer_ID") %>' />
                                    </td>
                                    <td style="border-left: 0px">
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 12px; border-top: 0px; border-right: 0px; text-align: center">
                                        <asp:Label ID="reviews_noLabel" runat="server" Text='<%# Eval("reviews_no") %>' />
                                        reviews
                                        <br />
                                    </td>
                                    <td style="border-top: 0px; border-left: 0px">
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 12px; text-align: center" rowspan="2" valign="top">
                                        Joined :<br />
                                        <asp:Label ID="user_joinedLabel" runat="server" Text='<%# Eval("user_joined", "{0:dd/MM/yyyy}") %>' />
                                        <br />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 12px; margin-right: 0px" colspan="4">
                                        <br />
                                        Helpfulness :
                                        <asp:Label ID="helpfulnessLabel" runat="server" Text='<%# Eval("helpfulness") %>' />
                                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Was this review helpful ?
                                        <asp:LinkButton ID="lbHelpfulYes" runat="server" ForeColor="Green" CommandName="helpfulYes">yes</asp:LinkButton>
                                        <asp:Label ID="lblHelpfulYes" runat="server" Text=""></asp:Label>
                                        or
                                        <asp:LinkButton ID="lbHelpfulNo" runat="server" ForeColor="red" CommandName="helpfulNo">no</asp:LinkButton>
                                        <asp:Label ID="lblHelpfulNo" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td valign="bottom" style="vertical-align: bottom; padding: 0px 0px 0px 0px; border-left: 0px;
                                        text-align: right" colspan="3">
                                        &nbsp; &nbsp;
                                    </td>
                                </tr>
                            </table>
                            <asp:Accordion ID="accordionNewComment" Style="margin-left: 118px" runat="server"
                                SelectedIndex="-1" FadeTransitions="true" FramesPerSecond="40" TransitionDuration="250"
                                AutoSize="None" RequireOpenedPane="false" OnItemCommand="accordionComment_ItemCommand"
                                ContentCssClass='<%# string.concat("accordionNewComment||",Eval("review_ID") ) %>'>
                                <Panes>
                                    <asp:AccordionPane ID="accordionPaneNewComment" runat="server">
                                        <Header>
                                            <table class="bordered-table" style="margin-bottom: 0px" width="795px">
                                                <tr>
                                                    <td>
                                                        <a href="" onclick="return false;" class="Link">Add new comment</a>
                                                    </td>
                                                </tr>
                                            </table>
                                        </Header>
                                        <Content>
                                            <table class="bordered-table" style="margin-bottom: 0px" width="795px">
                                                <tr>
                                                    <td style="border-top: 0px; padding: 0px 0px 0px 10px" colspan="2">
                                                        <h5>
                                                            New comment</h5>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td style="border-top: 0px; padding-top: 5px; border-right: 0px">
                                                        <asp:TextBox ID="tbxNewCommentText" Style="resize: none;" runat="server" Height="60px"
                                                            TextMode="MultiLine" Width="650px"></asp:TextBox>
                                                    </td>
                                                    <td style="border-top: 0px; padding-top: 40px; border-left: 0px">
                                                        <asp:Button ID="btnSubmitComment" Width="65px" CommandName="newComment" CommandArgument='<%# Eval("review_ID") %>'
                                                            class="btn" runat="server" Text="Submit" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </Content>
                                    </asp:AccordionPane>
                                </Panes>
                            </asp:Accordion>
                            <asp:Accordion ID="accordionOldComments" runat="server" OnLoad="accordionOldComment_Load"
                                Style="margin-left: 118px" SelectedIndex="-1" FadeTransitions="true" FramesPerSecond="40"
                                TransitionDuration="250" AutoSize="None" RequireOpenedPane="false">
                                <Panes>
                                    <asp:AccordionPane ID="accordionOldCommentsPane" runat="server">
                                        <Header>
                                            <table class="bordered-table" style="margin-bottom: 0px" width="795px">
                                                <tr>
                                                    <td width="100%">
                                                        <asp:Label ID="numCommentsLabel" runat="server" class="Link" Text="Num Comments" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </Header>
                                        <Content>
                                            <%--  Nested List view for comment--%>
                                            <asp:ListView ID="lvComments" OnItemDataBound="lvComments_ItemDataBound" runat="server"
                                                DataKeyNames="comment_ID" DataSourceID="SqlDataSourceComments" OnItemCommand="lvComments_ItemCommand">
                                                <EditItemTemplate>
                                                    <span style="">comment_ID:
                                                        <asp:Label ID="comment_IDLabel" runat="server" Text='<%# Eval("comment_ID") %>' />
                                                        <br />
                                                        user_ID:
                                                        <asp:TextBox ID="user_IDTextBox" runat="server" Text='<%# Bind("user_ID") %>' />
                                                        <br />
                                                        date_created:
                                                        <asp:TextBox ID="date_createdTextBox" runat="server" Text='<%# Bind("date_created") %>' />
                                                        <br />
                                                        comment_content:
                                                        <asp:TextBox ID="comment_contentTextBox" runat="server" Text='<%# Bind("comment_content") %>' />
                                                        <br />
                                                        display_name:
                                                        <asp:TextBox ID="display_nameTextBox" runat="server" Text='<%# Bind("display_name") %>' />
                                                        <br />
                                                        <asp:Button ID="UpdateButton" runat="server" CommandName="Update" Text="Update" />
                                                        <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" Text="Cancel" />
                                                        <br />
                                                        <br />
                                                    </span>
                                                </EditItemTemplate>
                                                <InsertItemTemplate>
                                                    <span style="">user_ID:
                                                        <asp:TextBox ID="user_IDTextBox" runat="server" Text='<%# Bind("user_ID") %>' />
                                                        <br />
                                                        date_created:
                                                        <asp:TextBox ID="date_createdTextBox" runat="server" Text='<%# Bind("date_created") %>' />
                                                        <br />
                                                        comment_content:
                                                        <asp:TextBox ID="comment_contentTextBox" runat="server" Text='<%# Bind("comment_content") %>' />
                                                        <br />
                                                        display_name:
                                                        <asp:TextBox ID="display_nameTextBox" runat="server" Text='<%# Bind("display_name") %>' />
                                                        <br />
                                                        <asp:Button ID="InsertButton" runat="server" CommandName="Insert" Text="Insert" />
                                                        <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" Text="Clear" />
                                                        <br />
                                                        <br />
                                                    </span>
                                                </InsertItemTemplate>
                                                <ItemTemplate>
                                                    <table class="bordered-table" style="margin-bottom: 0px" width="795px">
                                                        <tr>
                                                            <td width="120px" height="18px" style="padding: 10px 10px 3px 10px; border-right: 0px">
                                                                <asp:Label ID="display_nameLabel0" runat="server" Style="font-size: 12px; color: blue"
                                                                    Text='<%# Eval("display_name") %>' />
                                                            </td>
                                                            <td rowspan="2" height="33px" style="padding: 10px 0 0 0 0; border-left: 0px">
                                                            </td>
                                                            <td width="120px" align="right" style="text-align: right; padding: 10px 0 0 0; border-left: 0px;
                                                                border-bottom: 0px" height="18px">
                                                                <asp:LinkButton ID="lbDeleteComment" runat="server" CommandName="deleteComment" ForeColor="Red"
                                                                    Font-Size="12px" Font-Bold="true" CommandArgument='<%# Eval("comment_ID") %>'>X  </asp:LinkButton>
                                                                &nbsp; &nbsp;
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td width="120px" height="15px" style="padding: 0px 10px 3px 10px; border-top: 0px;
                                                                border-right: 0px">
                                                                <asp:Label ID="date_createdLabel" runat="server" Style="font-family: Ariel; font-size: 11px;"
                                                                    Text='<%# Eval("date_created", "{0:dd/MM/yyyy}") %>' />
                                                            </td>
                                                            <td width="120px" height="15px" style="padding: 0 0 0 0; border-top: 0px; border-left: 0px">
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td style="border-top: 0px" height="auto" colspan="2">
                                                                <asp:Label ID="Label1" Style="color: #77787B; font-size: 12px;" runat="server" Text='<%# Eval("comment_content") %>' />
                                                            </td>
                                                            <td valign="bottom" style="vertical-align: bottom; padding: 0px 0px 0px 0px; border-left: 0px;
                                                                border-top: 0px; text-align: right">
                                                                <asp:LinkButton ID="lbReportComment" runat="server" ToolTip="Report as inappropriate"
                                                                    Style="" CommandName="reportComment" ForeColor="Red" Font-Size="10px" CommandArgument='<%# Eval("comment_ID") %>'> report </asp:LinkButton>
                                                                &nbsp; &nbsp;
                                                                <asp:Label ID="user_IDLabel" Style="display: none" runat="server" Text='<%# Eval("user_ID") %>' />
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </ItemTemplate>
                                                <LayoutTemplate>
                                                    <div width="795px" id="itemPlaceholderContainer" runat="server">
                                                        <span runat="server" id="itemPlaceholder" />
                                                    </div>
                                                    <div>
                                                        <asp:DataPager ID="dataPager2" style="margin-left: 695px" runat="server">
                                                            <Fields>
                                                                <asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="True" ShowNextPageButton="False"
                                                                    ShowPreviousPageButton="False" />
                                                                <asp:NumericPagerField />
                                                                <asp:NextPreviousPagerField ButtonType="Button" ShowLastPageButton="True" ShowNextPageButton="False"
                                                                    ShowPreviousPageButton="False" />
                                                            </Fields>
                                                        </asp:DataPager>
                                                    </div>
                                                </LayoutTemplate>
                                                <SelectedItemTemplate>
                                                    <span style="">review_ID::
                                                        <asp:Label ID="review_IDLabel" runat="server" Text='<%# Eval("review_ID") %>' />
                                                        <br />
                                                        comment_ID:
                                                        <asp:Label ID="comment_IDLabel" runat="server" Text='<%# Eval("comment_ID") %>' />
                                                        <br />
                                                        user_ID:
                                                        <asp:Label ID="user_IDLabel" runat="server" Text='<%# Eval("user_ID") %>' />
                                                        <br />
                                                        date_created:
                                                        <asp:Label ID="date_createdLabel" runat="server" Text='<%# Eval("date_created") %>' />
                                                        <br />
                                                        comment_content:
                                                        <asp:Label ID="comment_contentLabel" runat="server" Text='<%# Eval("comment_content") %>' />
                                                        <br />
                                                        display_name:
                                                        <asp:Label ID="display_nameLabel" runat="server" Text='<%# Eval("display_name") %>' />
                                                        <br />
                                                        <br />
                                                    </span>
                                                </SelectedItemTemplate>
                                            </asp:ListView>
                                        </Content>
                                    </asp:AccordionPane>
                                </Panes>
                            </asp:Accordion>
                            <%-- Data source for second list view--%>
                            <asp:SqlDataSource ID="SqlDataSourceComments" runat="server" ConnectionString="<%$ ConnectionStrings:goodAnotDBConnectionStringSearch %>"
                                SelectCommand="SELECT comment.review_ID, comment.comment_ID, comment.user_ID, comment.date_created, comment.comment_content, user_account.display_name FROM comment INNER JOIN user_account ON comment.user_ID = user_account.user_ID WHERE (comment.review_ID = @reviewID) ORDER BY comment.date_created DESC"
                                ProviderName="System.Data.SqlClient">
                                <SelectParameters>
                                    <asp:Parameter Name="reviewID" />
                                </SelectParameters>
                            </asp:SqlDataSource>
                        </ItemTemplate>
                        <LayoutTemplate>
                            <div id="groupPlaceholderContainer" runat="server" border="0" tyle="">
                                <span id="groupPlaceholder" runat="server"></span>
                            </div>
                            <div>
                                <asp:DataPager ID="DataPager1" runat="server">
                                    <Fields>
                                        <asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="True" ShowNextPageButton="False"
                                            ShowPreviousPageButton="False" />
                                        <asp:NumericPagerField />
                                        <asp:NextPreviousPagerField ButtonType="Button" ShowLastPageButton="True" ShowNextPageButton="False"
                                            ShowPreviousPageButton="False" />
                                    </Fields>
                                </asp:DataPager>
                            </div>
                        </LayoutTemplate>
                        <SelectedItemTemplate>
                            <span style="">rating_quality:
                                <asp:Label ID="rating_qualityLabel" runat="server" Text='<%# Eval("rating_quality") %>' />
                                <br />
                                rating_value:
                                <asp:Label ID="rating_valueLabel" runat="server" Text='<%# Eval("rating_value") %>' />
                                <br />
                                rating_service:
                                <asp:Label ID="rating_serviceLabel" runat="server" Text='<%# Eval("rating_service") %>' />
                                <br />
                                rating_overall:
                                <asp:Label ID="rating_overallLabel" runat="server" Text='<%# Eval("rating_overall") %>' />
                                <br />
                                rating_verdict:
                                <asp:Label ID="rating_verdictLabel" runat="server" Text='<%# Eval("rating_verdict") %>' />
                                <br />
                                helpfulness:
                                <asp:Label ID="helpfulnessLabel" runat="server" Text='<%# Eval("helpfulness") %>' />
                                <br />
                                review_date:
                                <asp:Label ID="review_dateLabel" runat="server" Text='<%# Eval("review_date") %>' />
                                <br />
                                review_content:
                                <asp:Label ID="review_contentLabel" runat="server" Text='<%# Eval("review_content") %>' />
                                <br />
                                name:
                                <asp:Label ID="nameLabel" runat="server" Text='<%# Eval("name") %>' />
                                <br />
                                title:
                                <asp:Label ID="titleLabel" runat="server" Text='<%# Eval("title") %>' />
                                <br />
                                review_ID:
                                <asp:Label ID="review_IDLabel" runat="server" Text='<%# Eval("review_ID") %>' />
                                <br />
                                reviewer_ID:
                                <asp:Label ID="reviewer_IDLabel" runat="server" Text='<%# Eval("reviewer_ID") %>' />
                                <br />
                                display_name:
                                <asp:Label ID="display_nameLabel" runat="server" Text='<%# Eval("display_name") %>' />
                                <br />
                                reviews_no:
                                <asp:Label ID="reviews_noLabel" runat="server" Text='<%# Eval("reviews_no") %>' />
                                <br />
                                user_joined:
                                <asp:Label ID="user_joinedLabel" runat="server" Text='<%# Eval("user_joined") %>' />
                                <br />
                                user_ID:
                                <asp:Label ID="user_IDLabel" runat="server" Text='<%# Eval("user_ID") %>' />
                                <br />

                                <br />
                            </span>
                        </SelectedItemTemplate>
                    </asp:ListView>
                </asp:Panel>
            </td>
        </tr>
    </table>
    <asp:HiddenField ID="HiddenField1" runat="server" />
    <asp:SqlDataSource ID="SqlDataSourceReviews" runat="server" ConnectionString="<%$ ConnectionStrings:yijungoodAnotDBConnectionString %>"
        
        SelectCommand="SELECT review.rating_quality, review.rating_value, review.rating_service, review.rating_overall, review.rating_verdict, review.helpfulness, review.date_created AS review_date, review.review_content, outlet.name, review.title, review.review_ID, review.reviewer_ID, user_account.display_name, user_account.reviews_no, user_account.date_created AS user_joined, user_account.user_ID FROM review INNER JOIN outlet ON review.outlet_ID = outlet.outlet_ID INNER JOIN user_account ON review.reviewer_ID = user_account.user_ID WHERE (review.reviewer_ID = @user_ID) GROUP BY review.rating_quality, review.rating_value, review.rating_service, review.rating_overall, review.rating_verdict, review.helpfulness, review.date_created, review.review_content, outlet.name, review.title, review.review_ID, review.reviewer_ID, user_account.display_name, user_account.reviews_no, user_account.date_created, user_account.user_ID ORDER BY (CASE @ascdsc WHEN 'desc' THEN (CASE @sort WHEN 'date' THEN review.date_created WHEN 'rating' THEN rating_overall WHEN 'helpfulness' THEN helpfulness END) END) DESC, (CASE @ascdsc WHEN 'asc' THEN (CASE @sort WHEN 'date' THEN review.date_created WHEN 'rating' THEN rating_overall WHEN 'helpfulness' THEN helpfulness END) END)">
        <SelectParameters>
            <asp:ControlParameter ControlID="HiddenField1" DefaultValue="4" Name="user_ID" PropertyName="Value" />
            <asp:ControlParameter ControlID="hfAscDesc" DefaultValue="desc" Name="ascdsc" PropertyName="Value" />
            <asp:ControlParameter ControlID="hfSort" DefaultValue="date" Name="sort" PropertyName="Value" />
        </SelectParameters>
    </asp:SqlDataSource>
</asp:Content>
